home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue38 / BuildPro / BUILD / BasicBuild.bat next >
DOS Batch File  |  1998-04-22  |  424b  |  22 lines

  1. @ECHO OFF
  2. REM BasicBuild.bat
  3. REM This just compiles the product in using default compiler options.
  4.  
  5. REM Build the first project.
  6. CD "..\My Project 1"
  7. DCC32 /Q MyProject1.dpr
  8. IF ERRORLEVEL 1 GOTO FAILED
  9.  
  10. REM Now build the second project.
  11. CD "..\My Project 2"
  12. DCC32 /Q MyProject2.dpr
  13. IF ERRORLEVEL 1 GOTO FAILED
  14.  
  15. ECHO My Product built OK
  16. GOTO END
  17.  
  18. :FAILED
  19. ECHO My Product failed to build
  20.  
  21. :END
  22. CD ..\Build